package com.bean;

import java.io.Serializable;

public class Type implements Serializable {

    private Integer id;
    private String movieType;
    private Integer spare;

    public Type() {
    }

    public Type(Integer id, String movieType, Integer spare) {
        this.id = id;
        this.movieType = movieType;
        this.spare = spare;
    }

    @Override
    public String toString() {
        return "Type{" +
                "id=" + id +
                ", movieType='" + movieType + '\'' +
                ", spare=" + spare +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMovieType() {
        return movieType;
    }

    public void setMovieType(String movieType) {
        this.movieType = movieType;
    }

    public Integer getSpare() {
        return spare;
    }

    public void setSpare(Integer spare) {
        this.spare = spare;
    }
}
